package com.xin.springcloudconsumer.form;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class UserForm {

    private String id;
    @NotNull(message = "昵称不能为空")
    private String nickname;
    @NotNull(message = "手机号码不能为空")
    private String phone;

    private String password;

    private String headImage;

    private String desction;  //描述
}
